package com.example.park_management.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.park_management.entity.MarketingCampaigns_wjs;
import com.example.park_management.mapper.MarketingCampaignsMapper_wjs;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class MarketingCampaignsService_wjs extends ServiceImpl<MarketingCampaignsMapper_wjs, MarketingCampaigns_wjs> {

    public boolean savamcwjs(MarketingCampaigns_wjs mc) {
//       if (mc.getCampaignID() == null) {
//           return save(mc);
//       } else {
//           return updateById(mc);
//       }

        return saveOrUpdate(mc);
    }



}
